﻿#region 命名空间

using System;
using System.Web.Security;

#endregion

namespace Sharp.Infrastructure
{
    /// <summary>
    /// 表示用于Sharp系统的MembershipUser扩展。
    /// </summary>
    public class SharpMembershipUser : MembershipUser
    {
        #region 构造函数

        public SharpMembershipUser()
        {

        }
        public SharpMembershipUser(string providerName,
            string name,
            object providerUserKey,
            string email,
            string passwordQuestion,
            string comment,
            bool isApproved,
            bool isLockedOut,
            DateTime creationDate,
            DateTime lastLoginDate,
            DateTime lastActivityDate,
            DateTime lastPasswordChangedDate,
            DateTime lastLockoutDate
            )
            : base(
                providerName, name, providerUserKey, email, passwordQuestion, comment, isApproved, isLockedOut,
                creationDate, lastLoginDate, lastActivityDate, lastPasswordChangedDate, lastLockoutDate)
        {
        }

        #endregion

        #region 属性

        public Guid Id
        {
            get { return (Guid)this.ProviderUserKey; }
        }

      

        #endregion
    }
}